import Home from '@/views/pages/home'
import demoRouter from './group/demo'
import systemRouter from './group/system'
import statisticsDataList from './group/statistics-data-list'
import statisticsEarlyWarning from './group/statistics-early-warning'
import statisticsPersonnelStatistics from './group/statistics-personnel-statistics'
import outbreakRouter from './group/outbreak-management'

const base = [
  {
    path: '/',
    name: 'home',
    component: Home,
    children: [
      {
        path: '/index',
        name: 'index',
        component: () => import('@/views/pages/index')
      },
      {
        path: '/account',
        name: 'account',
        component: () => import('@/views/pages/weixin/account')
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/login')
  },
  {
    path: '/login1',
    name: 'login1',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/login/login1')
  },
  {
    path: '/report',
    name: 'report',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/report')
  },
  {
    path: '/table1',
    name: 'table1',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_gsgygl')
  },
  {
    path: '/table2',
    name: 'table2',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_jwls')
  },
  {
    path: '/table3',
    name: 'table3',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_jwrs')
  },
  {
    path: '/table4',
    name: 'table4',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_sybyq')
  },
  {
    path: '/table5',
    name: 'table5',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_jwrszy')
  },
  {
    path: '/table6',
    name: 'table6',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_snzy')
  },
  {
    path: '/table7',
    name: 'table7',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_swzy')
  },
  {
    path: '/table8',
    name: 'table8',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_cxzsq')
  },
  {
    path: '/table9',
    name: 'table9',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_yczz')
  },
  {
    path: '/table10',
    name: 'table10',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_glry')
  },
  {
    path: '/table11',
    name: 'table11',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_jjgl')
  },
  {
    path: '/table12',
    name: 'table12',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_xjbggl')
  },
  {
    path: '/table13',
    name: 'table13',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_jzazd')
  },
  {
    path: '/table14',
    name: 'table14',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_gsgygl')
  },
  {
    path: '/table-jwrs-4bs',
    name: 'table-jwrs-4bs',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/tables/table_jwrs_4bs')
  },
  {
    path: '/report-v2',
    name: 'report-v2',
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/report/index-v2')
  },
  {
    path: '/report-v3',
    name: 'report-v3',
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/outbreak-management/overseas-to-shen/report/index-v3')
  },
  // 入境人员
  {
    path: '/statistics/immigration',
    name: 'statImmigration',
    component: () => import('@/views/pages/statistics/data-list/immigration')
  },
  // 入境人员
  {
    path: '/statistics/immigrationChart',
    name: 'statImmigrationChart',
    component: () => import('@/views/pages/statistics/data-list/immigration/chart')
  },
  // 隔离人员
  {
    path: '/statistics/isolation',
    name: 'statIsolation',
    component: () => import('@/views/pages/statistics/data-list/isolation')
  },
  // 隔离人员图表
  {
    path: '/statistics/isolationChart',
    name: 'statIsolationChart',
    component: () => import('@/views/pages/statistics/data-list/isolation/chart')
  },
  // 转运人员
  {
    path: '/statistics/transport',
    name: 'statTransport',
    component: () => import('@/views/pages/statistics/data-list/transport')
  },
  // 转运人员图表
  {
    path: '/statistics/transportChart',
    name: 'statTransportChart',
    component: () => import('@/views/pages/statistics/data-list/transport/chart')
  },
  // 密接人员
  {
    path: '/statistics/close-contact',
    name: 'statCloseContact',
    component: () => import('@/views/pages/statistics/data-list/close-contact')
  },
  // 密接人员图表
  {
    path: '/statistics/close-contactChart',
    name: 'statCloseContactChart',
    component: () => import('@/views/pages/statistics/data-list/close-contact/chart')
  },
  // 确诊和无症状人员
  {
    path: '/statistics/confirmed-asymptomatic',
    name: 'statConfirmedAsymptomatic',
    component: () => import('@/views/pages/statistics/data-list/confirmed-asymptomatic')
  },
  // 确诊和无症状人员图表
  {
    path: '/statistics/confirmed-asymptomaticChart',
    name: 'statConfirmedAsymptomaticChart',
    component: () => import('@/views/pages/statistics/data-list/confirmed-asymptomatic/chart')
  },
  // 隔离宾馆
  {
    path: '/statistics/isolation-hotel',
    name: 'statIsolationHotel',
    component: () => import('@/views/pages/statistics/data-list/isolation-hotel')
  },
  // 隔离宾馆详细
  {
    path: '/statistics/isolation-hotel-detail',
    name: 'statIsolationHotelDetail',
    component: () => import('@/views/pages/statistics/data-list/isolation-hotel/detail')
  },
  // 隔离宾馆图表
  {
    path: '/statistics/isolation-hotelChart',
    name: 'statIsolationHotelChart',
    component: () => import('@/views/pages/statistics/data-list/isolation-hotel/chart')
  },
  // 核酸检测
  {
    path: '/statistics/nucleic-acid-detection',
    name: 'statNucleicAcidDetection',
    component: () => import('@/views/pages/statistics/data-list/nucleic-acid-detection')
  },
  // 核酸检测图表
  {
    path: '/statistics/nucleic-acid-detectionChart',
    name: 'statNucleicAcidDetectionChart',
    component: () => import('@/views/pages/statistics/data-list/nucleic-acid-detection/chart')
  },
  // 北京航班分流图表
  {
    path: '/statistics/bj-shuntChart',
    name: 'statBjShuntChart',
    component: () => import('@/views/pages/statistics/data-list/bj-shunt/chart')
  },
  // 北京航班分流明细
  {
    path: '/statistics/bj-shunt',
    name: 'statBjShunt',
    component: () => import('@/views/pages/statistics/data-list/bj-shunt')
  },
  // 私自外出
  {
    path: '/statistics/disagree-go-out',
    name: 'disagreeGoOut',
    component: () => import('@/views/pages/statistics/early-warning/disagree-go-out')
  },
  // 比对卫健委码库
  {
    path: '/statistics/comparison',
    name: 'comparison',
    component: () => import('@/views/pages/statistics/early-warning/comparison')
  },
  // 提报数据预警
  {
    path: '/statistics/submission',
    name: 'submission',
    component: () => import('@/views/pages/statistics/early-warning/submission')
  },
  // 提前解除隔离
  {
    path: '/statistics/remove-isolation',
    name: 'removeIsolation',
    component: () => import('@/views/pages/statistics/early-warning/remove-isolation')
  },
  // 核酸检测预警
  {
    path: '/statistics/nucleic-acid-detection',
    name: 'nucleicAcidDetection',
    component: () => import('@/views/pages/statistics/early-warning/nucleic-acid-detection')
  },
  // 人员管控预警
  {
    path: '/statistics/personnel-control',
    name: 'personnelControl',
    component: () => import('@/views/pages/statistics/early-warning/personnel-control')
  },
  // 首页v2
  {
    path: '/login-v3',
    name: 'login-v3',
    component: () => import('@/views/pages/outbreak-management/overseas-to-shen/report/login')
  },
  // 纪委首页
  {
    path: '/login-jw',
    name: 'login-jw',
    component: () => import('@/views/pages/login/login_jw')
  },
  // 导入数据
  {
    path: '/data-excel',
    name: 'dataExcel',
    component: () => import('@/views/pages/statistics/data-list/excel')
  },
  // 提报入口
  {
    path: '/submit-index',
    name: 'submitIndex',
    component: () => import('@/views/pages/statistics/data-list/submit-index')
  },
  // 确诊和无症状人员操作页面
  {
    path: '/statistics/confirmed-b',
    name: 'confirmed-b',
    component: () => import('@/views/pages/statistics/data-list/confirmed-b')
  },
  // 修改宾馆隔离
  {
    path: '/statistics/isolation-hotel-hotelQuarantine',
    name: 'hotelQuarantine',
    component: () => import('@/views/pages/statistics/data-list/isolation-hotel/hotelQuarantine')
  }
]

base[0].children.push.apply(base[0].children, outbreakRouter)

base[0].children.push.apply(base[0].children, demoRouter)

base[0].children.push.apply(base[0].children, systemRouter)

base[0].children.push.apply(base[0].children, statisticsDataList)

base[0].children.push.apply(base[0].children, statisticsEarlyWarning)

base[0].children.push.apply(base[0].children, statisticsPersonnelStatistics)

export default base
